home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- puppetSprite(35, 0)
- puppetSprite(33, 0)
- updateStage()
- dontPassEvent()
- put "exiting caption2"
- go(1)
- end
-
- on mouseUp
- dontPassEvent()
- end
-
- on enterFrame
- global mouseUp, gHFstate, ghfathlete, ghfathleteno
- put "entering caption2"
- set the visible of sprite 44 to 1
- set vside to value(gHFstate)
- set the text of cast "captiontext1" to EMPTY
- set the text of cast "captiontext2" to EMPTY
- set the text of cast "captiontext3" to EMPTY
- set vName to "SIDE" & ghfathleteno & vside
- set the itemDelimiter to numToChar(13)
- set vNum to the number of cast vName
- set vlines to the number of lines in field vNum
- repeat with vcounter = 1 to vlines
- set the itemDelimiter to numToChar(13)
- if vcounter < 19 then
- put item vcounter of field vNum & numToChar(13) after field "captiontext1"
- next repeat
- end if
- if (vcounter > 18) and (vcounter < 38) then
- put item vcounter of field vNum & numToChar(13) after field "captiontext2"
- next repeat
- end if
- if (vcounter > 37) and (vcounter < 54) then
- put item vcounter of field vNum & numToChar(13) after field "captiontext3"
- end if
- end repeat
- set the textSize of field "captiontext1" to 10
- set the textSize of field "captiontext2" to 10
- set the textSize of field "captiontext3" to 10
- set vName to "SIDE" & ghfathleteno & "2"
- puppetSprite(35, 1)
- set the locH of sprite 35 to 390
- set the locV of sprite 35 to 76
- set the castNum of sprite 35 to cast "captiontext1"
- updateStage()
- set gHFside to "0"
- pause()
- end
-